Skip to content

chore: add ruff pre-commit hook#495

Open
afuetterer wants to merge 1 commit into
chrismattmann:masterfrom
afuetterer:ruff
Open

chore: add ruff pre-commit hook#495
afuetterer wants to merge 1 commit into
chrismattmann:masterfrom
afuetterer:ruff

Conversation

@afuetterer

Copy link
Copy Markdown
Contributor

This PR sets up a first config for a ruff pre-commit hook including the default ruleset ["E4", "E7", "E9", "F"] and "I" (isort).

pre-commit is passing locally.

Ref: https://docs.astral.sh/ruff/configuration/

@afuetterer afuetterer marked this pull request as draft May 11, 2026 18:20
@afuetterer afuetterer marked this pull request as draft May 11, 2026 18:20
@afuetterer

Copy link
Copy Markdown
Contributor Author

Strangely it passed locally, let me check.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 67.446% (+0.4%) from 67.086% — afuetterer:ruff into chrismattmann:master

@chrismattmann chrismattmann self-assigned this Jun 8, 2026
@chrismattmann chrismattmann added this to the tika-next milestone Jun 8, 2026
@chrismattmann chrismattmann added enhancement dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 8, 2026
@chrismattmann

Copy link
Copy Markdown
Owner

@afuetterer let me know if you want me to merge this

@chrismattmann chrismattmann marked this pull request as ready for review June 8, 2026 02:26
@chrismattmann

Copy link
Copy Markdown
Owner

I think we need to resolve conflicts first @afuetterer

@afuetterer

Copy link
Copy Markdown
Contributor Author

Yes, let me fix those first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants